package org.example.pojo;

import java.util.List;

public class ResPojo {

    int resId;

    String resName;

    String resUrl;

    int resParentId;

    String menuIcon;

    List<ResPojo> childs;

    public int getResId() {
        return resId;
    }

    public void setResId(int resId) {
        this.resId = resId;
    }

    public String getResName() {
        return resName;
    }

    public void setResName(String resName) {
        this.resName = resName;
    }

    public String getResUrl() {
        return resUrl;
    }

    public void setResUrl(String resUrl) {
        this.resUrl = resUrl;
    }

    public int getResParentId() {
        return resParentId;
    }

    public void setResParentId(int resParentId) {
        this.resParentId = resParentId;
    }

    public String getMenuIcon() {
        return menuIcon;
    }

    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon;
    }

    public List<ResPojo> getChilds() {
        return childs;
    }


    public void setChilds(List<ResPojo> childs) {
        this.childs = childs;
    }

    @Override
    public String toString() {
        return "ResPojo{" +
                "resId=" + resId +
                ", resName='" + resName + '\'' +
                ", resUrl='" + resUrl + '\'' +
                ", resParentId=" + resParentId +
                ", menuIcon='" + menuIcon + '\'' +
                ", childs=" + childs +
                '}';
    }
}
